import { observable, makeObservable } from "mobx"

export default class UserStore {
  constructor(user) {
    this.name = user.name
    this.age = user.age
    makeObservable(this, {
      name: observable,
      age: observable
    })
  }
}